﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Write.API.Application.Commands.ResourceInfoCommand
{
    /// <summary>
    /// 资源信息新增命令
    /// </summary>
    public class ResourceInfoCreateCommand : IRequest<APIResult<object>>
    {

        /// <summary>
        /// 资源编码
        /// </summary>
        public string ResourceNumer { get; set; }

        /// <summary>
        /// 资源名称
        /// </summary>
        public string ResourceInfoName { get; set; }

        /// <summary>
        /// 资源类别
        /// </summary>
        public string ResourceType { get; set; }

        /// <summary>
        /// 资源描述
        /// </summary>
        public string ResourceDescribe { get; set; }

        /// <summary>
        /// 资源单位
        /// </summary>
        public int ResourceId { get; set; }

        /// <summary>
        /// 计算成本
        /// </summary>
        public string CountCost { get; set; }

        /// <summary>
        /// 费用类型
        /// </summary>
        public int TypeExpenceId { get; set; }

        /// <summary>
        /// 计费方式
        /// </summary>
        public string ChargWay { get; set; }


        /// <summary>
        /// 基准类型
        /// </summary>
        public string StandardType { get; set; }

        /// <summary>
        /// 单位成本
        /// </summary>
        public string UnitCost { get; set; }

        /// <summary>
        /// 成本吸收科目
        /// </summary>
        public string Costabsorb { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Statu { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public bool ResourceStatus { get; set; }
    }
}
